import { ref } from 'vue';

const audioSrc = ref('');

export const useAudio = () => {
  function setAudioSrc(src) {
    audioSrc.value = src;
  }
  return {
    setAudioSrc,
    audioSrc
  };
};
